<!DOCTYPE HTML>
<html>
<head>
<script src="../resources/run-after-layout-and-paint.js"></script>
<script type="text/javascript" charset="utf-8">
  function doTest()
  {
    div = document.getElementById("div");
    runAfterLayoutAndPaint(function() {
      div.style.height = "1600px";
    }, true);
  }

  window.addEventListener('load', doTest, false);
</script>

</head>
<body>
  <div id="div">
    <img id="image" src="resources/apple.jpg" style="will-change: transform;">
  </div>
</body>
</html>
